<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<body>
	<!-- if(条件表达式){
			条件为真
		}else{
			条件为假
		}
		if(){
			
		}
		else if(){
			
		}else{
			
		}
	 -->	
	</body>
	<script>
		// 条件判断
		let xhs=5; xg=1;
		if(xg>0){
			xhs=1;
		}
		console.log(xhs);
		console.log('---------------------------------')
		let a=10 ,b=100,max;
		if(a<b){
			max=b
		}console.log(max)
		let num=80;
		if(num>90){
			console.log("你真棒！")
		}else if(num>70){
			console.log("厉害")
		}else{
			console.log("加油呦！")
		}
		
	</script>
	
</html>
